import fetch from '@/utils/fetch'

const BBSApi = {
  getPageList (params) {
    return fetch({
      url: '/api/bbsTopic/page',
      method: 'get',
      params: params
    })
  },
  del (data) {
    return fetch({
      url: '/api/bbsTopic',
      method: 'delete',
      data: data
    })
  }
}
export default BBSApi
